from django.urls import path
from .views import (
    providers_service_api, providers_service_id_api,
    providers_telehealth_api, providers_telehealth_id_api, providers_calendar_id_api,
    providers_billing_address_api, providers_billing_address_id_api,
    providers_billing_info_api, providers_billing_info_id_api,
    providers_super_bill_setting_id_api,
    providers_invoice_setting_id_api, providers_location_api, providers_location_id_api,
    providers_super_bill_invoice_setting_id_api,
    super_bill_image_delete_api, invoice_setting_image_delete_api,
    tracking_device_login_api
)

app_name = 'tenant'

urlpatterns = [
    path('provider-location', providers_location_api, name='providers_locations'),
    path('provider-location/<str:locations_id>', providers_location_id_api, name='provider_location_id'),
    path('provider-service', providers_service_api, name='provider_service'),
    path('provider-service/<str:service_id>', providers_service_id_api, name='provider_service_id'),
    path('provider-telehealth', providers_telehealth_api, name='provider_telehealth'),
    path('telehealth/<str:telehealth_id>', providers_telehealth_id_api, name='provider_telehealth_id'),
    path('provider-calendar/me', providers_calendar_id_api, name='provider_calendar_id'),
    path('billing-address', providers_billing_address_api, name='provider_billing_address'),
    path('billing-address/<str:address_id>', providers_billing_address_id_api, name='provider_billing_address_id'),
    path('billing-info', providers_billing_info_api, name='provider_billing_info'),
    path('billing-info/<str:billing_info_id>', providers_billing_info_id_api, name='provider_billing_info_id'),
    path('super-bill/<str:super_bill_id>', providers_super_bill_setting_id_api, name='provider_super_bill_setting'),
    path('invoice-setting/<str:invoice_setting_id>', providers_invoice_setting_id_api,
         name='provider_invoice_setting_id'),
    path('invoice-setting/<str:invoice_setting_id>/delete-image', invoice_setting_image_delete_api,
         name='provider_invoice_setting_id'),
    path('superbill-setting/<str:invoice_setting_id>', providers_super_bill_invoice_setting_id_api,
         name='superbill_provider_invoice_setting_id'),
    path('superbill-setting/<str:super_bill_id>/delete-image', super_bill_image_delete_api,
         name='superbill_provider_invoice_setting_id_delete_image'),
    path('tracking-device-login', tracking_device_login_api, name='tracking_device_login_api')
]
